<template>
	<img :src="ImageUrl"/>
	
</template>

<script>
	import axios from 'axios'
	export default {
	    name: "login",
	    data(){
			return{
				ImageUrl:'',
			}
			
	    },
	    methods:{
	        confirm(){
				axios({
					method: "get",
					url:"http://101.43.199.163:8081/api/pic",
					data: JSON.stringify(this.loginForm),
					headers: {'Content-Type': 'application/json;charset=UTF-8'}
				}).then((res) => {
					this.ImageUrl=res.data.password;
					console.log(res.data.password);		
				})
	        }
	    },
		mounted() {
			this.confirm();
		}
	}
</script>

<style>
</style>